package com.hy.study.demo.complexquerydemo.bean.business;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 集团内部管理信息
 *
 * @author Pierre REN
 */
public class GroupInternalManagementInfo {
	/**
	 * 集团内部管理属性
	 */
	private String groupInternalManagementType;

	/**
	 * 管理层级
	 */
	private int managementLevel;

	/**
	 * 同级排序号
	 */
	private int siblingOrderNumber;

	/**
	 * 组织产权级次
	 */
	private int propertyManagementLevel;

	/**
	 * 是否财务并表
	 */
	@JsonProperty("isIncludedForFinancialConsolidation")
	private boolean isIncludedForFinancialConsolidation;

	/**
	 * 是否纳入决算标志
	 */
    @JsonProperty("isIncludedForFinancialStatement")
	private boolean isIncludedForFinancialStatement;

	/**
	 * 集团统一品牌授权使用形式
	 */
	private String groupBrandUsageAuthorization;

	public String getGroupInternalManagementType() {
		return groupInternalManagementType;
	}

	public void setGroupInternalManagementType(String groupInternalManagementType) {
		this.groupInternalManagementType = groupInternalManagementType;
	}

	public int getManagementLevel() {
		return managementLevel;
	}

	public void setManagementLevel(int managementLevel) {
		this.managementLevel = managementLevel;
	}

	public int getSiblingOrderNumber() {
		return siblingOrderNumber;
	}

	public void setSiblingOrderNumber(int siblingOrderNumber) {
		this.siblingOrderNumber = siblingOrderNumber;
	}

	public int getPropertyManagementLevel() {
		return propertyManagementLevel;
	}

	public void setPropertyManagementLevel(int propertyManagementLevel) {
		this.propertyManagementLevel = propertyManagementLevel;
	}

	public boolean isIncludedForFinancialConsolidation() {
		return isIncludedForFinancialConsolidation;
	}

	public void setIncludedForFinancialConsolidation(boolean isIncludedForFinancialConsolidation) {
		this.isIncludedForFinancialConsolidation = isIncludedForFinancialConsolidation;
	}

	public boolean isIncludedForFinancialStatement() {
		return isIncludedForFinancialStatement;
	}

	public void setIncludedForFinancialStatement(boolean isIncludedForFinancialStatement) {
		this.isIncludedForFinancialStatement = isIncludedForFinancialStatement;
	}

	public String getGroupBrandUsageAuthorization() {
		return groupBrandUsageAuthorization;
	}

	public void setGroupBrandUsageAuthorization(String groupBrandUsageAuthorization) {
		this.groupBrandUsageAuthorization = groupBrandUsageAuthorization;
	}

	// add by huyong
	@JsonIgnore
	public String getGroupInternalType() {
		return groupInternalManagementType;
	}

	public void setGroupInternalType(String groupInternalManagementType) {
		this.groupInternalManagementType = groupInternalManagementType;
	}

	public void setIsIncludedForConsCode(String isIncludedForConsCode) {
		this.isIncludedForFinancialConsolidation = "1".equals(isIncludedForConsCode);
	}

	public void setIsIncludedForStatCode(String isIncludedForStatCode) {
		this.isIncludedForFinancialStatement = "1".equals(isIncludedForStatCode);
	}
	@JsonIgnore
	public String getGroupBrandAuthorizatio() {
		return groupBrandUsageAuthorization;
	}

	public void setGroupBrandAuthorizatio(String groupBrandUsageAuthorization) {
		this.groupBrandUsageAuthorization = groupBrandUsageAuthorization;
	}
}